package scct.chenhui.model;

public class Goods {
    int id;
    String name;
    int brandId;
    String brandName;
    int typeId;
    String typeName;
    float price;
    int quantity;
    int status;
    long addTime;
    int promote;
    String introduce;

    public Goods(int id, String name, int brandId, String brandName, int typeId, String typeName, float price, int quantity, int status, long addTime, int promote, String introduce) {
        this.id = id;
        this.name = name;
        this.brandId = brandId;
        this.brandName = brandName;
        this.typeId = typeId;
        this.typeName = typeName;
        this.price = price;
        this.quantity = quantity;
        this.status = status;
        this.addTime = addTime;
        this.promote = promote;
        this.introduce = introduce;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", brandId=" + brandId +
                ", brandName='" + brandName + '\'' +
                ", typeId=" + typeId +
                ", typeName='" + typeName + '\'' +
                ", price=" + price +
                ", quantity=" + quantity +
                ", status=" + status +
                ", addTime=" + addTime +
                ", promote=" + promote +
                ", introduce='" + introduce + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getBrandId() {
        return brandId;
    }

    public void setBrandId(int brandId) {
        this.brandId = brandId;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public long getAddTime() {
        return addTime;
    }

    public void setAddTime(long addTime) {
        this.addTime = addTime;
    }

    public int getPromote() {
        return promote;
    }

    public void setPromote(int promote) {
        this.promote = promote;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }
}
